package com.wyf;

import com.wyf.config.IocConfig3;
import com.wyf.config.IocConfig4;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Starter4 {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(IocConfig3.class);
        IocConfig4 iocConfig4 = applicationContext.getBean(IocConfig4.class);
        iocConfig4.showConfigInfo();
    }
}
